package com.mrjy.video.bo;

import java.util.List;
import java.util.Map;

import com.mrjy.common.entity.VideoCommentInfo;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

public interface IVideoCommentInfoBo {

    /**
     * 添加课程评论前端
     *
     * @param comment
     * @param map
     */
    public Object txAddVideoCommentInfo(VideoCommentInfo comment, Map<String, Object> map);

    /**
     * 显示课程信息
     *
     * @param comment
     * @return
     */
    public Map<String, Object> videoCommentInfoList(VideoCommentInfo comment);

    /**
     * 根据ID查询课程评论信息
     *
     * @param id
     * @return
     */
    public VideoCommentInfo queryById(int id);

    /**
     * 根据ID修改课程评论信息
     *
     * @param id
     */
    public void txUpdateById(VideoCommentInfo comment);

    /**
     * 根据ids删除课程评论信息
     *
     * @param ids
     * @return
     */
    public int txDeleteByIds(int[] ids);

    /**
     * 根据ids禁用、起用课程评论信息
     *
     * @param ids
     * @return
     */
    public Object updateDisableFlag(VideoCommentInfo comment);

    public List<VideoCommentInfo> queryByVideoId(int videoId);

    public Map<String, Object> queryPageByVideoId(VideoCommentInfo comment);

    Object queryPageCommentsByVideoId(VideoCommentInfo comment, HttpSession session);

    Object txtoComment(VideoCommentInfo vComment, HttpSession session);

    Object export(VideoCommentInfo comment, HttpSession session, HttpServletResponse response);

    Object queryVideoComments(VideoCommentInfo videoComment);
}
